WooCommerce\PayPalCommerce\OrderTracking\Endpoint\OrderTrackingEndpoint S

Total Complexity 45
Dependencies 11
Dependents 9
Total lines 390
Lines of code 193
Logical lines of code 140
Comment lines 170
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
add_tracking_information()
S
51 7 24
list_tracking_information()
S
50 5 26
handle_request()
S
52 5 21
validate_tracking_info()
S
54 5 20
get_tracking_information()
S
52 4 23
update_tracking_information()
S
54 4 18
generate_request_data()
S
57 3 14
save_tracking_metadata()
S
63 3 11
create_shipment()
S
64 2 8
find_tracker_id()
S
77 2 3
__construct()
S
65 1 9
nonce()
S
80 1 3
request_headers()
S
77 1 3
throw_paypal_api_exception()
S
70 1 5
throw_runtime_exception()
S
71 1 5